package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 优惠券远程调用服务
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    /**
     * 返回会员优惠券信息
     *
     * @return
     */
    @GetMapping("/coupon/coupon/member/list")
    R memberCoupon();
}
